projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b34c84a
)
filechooserbutton: Don't leak priv->model
author
Timm Bäder
<mail@baedert.org>
Fri, 6 Oct 2017 15:14:31 +0000
(17:14 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 6 Oct 2017 15:14:31 +0000
(17:14 +0200)
gtk/gtkfilechooserbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserbutton.c
b/gtk/gtkfilechooserbutton.c
index 48d13cbf60b3716ae203279178163c45403e0069..e868e0442de4468a86f43f176d144dbef2f807bf 100644
(file)
--- a/
gtk/gtkfilechooserbutton.c
+++ b/
gtk/gtkfilechooserbutton.c
@@
-1059,6
+1059,8
@@
gtk_file_chooser_button_finalize (GObject *object)
if (priv->current_folder_while_inactive)
g_object_unref (priv->current_folder_while_inactive);
+ g_object_unref (priv->model);
+
gtk_widget_unparent (priv->button);
gtk_widget_unparent (priv->combo_box);